package com.epoint.mobileoa.bizlogic.mobileoa;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import android.os.Message;

import com.epoint.mobileoa.bizlogic.SuperView;
import com.epoint.mobileoa.bizlogic.Task;
import com.epoint.mobileoa.db.DBHelp;

/**
 * @author liyc
 * @time 2012-2-22 上午1:45:45
 * @annotation 
 */
public class SearchContactsByPinyinTask extends Task {

	public SearchContactsByPinyinTask(SuperView con,
			HashMap<String, Object> param) {
		super(con, param);
		
	}

	@Override
	public void exectue(Message mess) throws Exception {
		String tj = (String) getParam().get("tj");
		List<Map<String, Object>> list = DBHelp.getUserOnPy(getCon(), tj);
		setMessageToRefreshUI(mess, getCon(), list);
	}

}
